Skip to content

🧹 refactor: Replace eslint disable with unused variable convention#22

Merged
Shreyassp002 merged 1 commit intomainfrom
fix-unused-variable-873320628204842608
Apr 6, 2026
Merged

🧹 refactor: Replace eslint disable with unused variable convention#22
Shreyassp002 merged 1 commit intomainfrom
fix-unused-variable-873320628204842608

Conversation

@Shreyassp002
Copy link
Copy Markdown
Contributor

🎯 What: Removed the // eslint-disable-next-line @typescript-eslint/no-unused-vars comment and aliased the payment_links property to _payment_links during object destructuring in src/app/api/transactions/[id]/route.ts.

💡 Why: This leverages TypeScript/ESLint conventions allowing unused variables to be prefixed with an underscore to ignore them, eliminating the need for inline ESLint disable comments.

Verification: Verified by executing npm run lint and npm run test, ensuring no linting issues remain for this variable and tests are still passing.

Result: Improved codebase cleanliness and maintainability by utilizing standard patterns over suppression comments.


PR created automatically by Jules for task 873320628204842608 started by @Shreyassp002

…derscore

Co-authored-by: Shreyassp002 <96625037+Shreyassp002@users.noreply.github.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
flash-protocol Ready Ready Preview, Comment Apr 4, 2026 6:45am

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 4, 2026

⚡ Flash Review

Metric Value
Files Reviewed 1
Risk Level 🟢 Low
Issues Found None

✅ This PR looks clean. No security issues, bugs, or significant improvements found.


⚡ Powered by Flash Review

@Shreyassp002 Shreyassp002 merged commit be6d609 into main Apr 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant